package task10;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        int i;
        int sum=1;
        for(i=5;i>=1;i--){
            sum=sum*i;
        }
        System.out.println(sum);
    }
}
